<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Wallet_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-wallet_id" data-rule="required" data-source="wallet/index" class="form-control selectpage" name="row[wallet_id]" type="text" value="{$row.wallet_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Change_amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-change_amount" data-rule="required" class="form-control" step="0.01" name="row[change_amount]" type="number" value="{$row.change_amount}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Change_type')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-change_type" data-rule="required" class="form-control selectpicker" name="row[change_type]">
                {foreach name="changeTypeList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.change_type"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Change_matters')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-change_matters" data-rule="required" class="form-control selectpicker" name="row[change_matters]">
                {foreach name="changeMattersList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.change_matters"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Order_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-order_id" data-rule="required" data-source="order/index" class="form-control selectpage" name="row[order_id]" type="text" value="{$row.order_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cash_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cash_id" data-rule="required" data-source="cash/index" class="form-control selectpage" name="row[cash_id]" type="text" value="{$row.cash_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control" name="row[remark]" type="text" value="{$row.remark}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
